package com.packet.cheng.util;

import com.packet.cheng.entity.User;

/**
 * @author 张在成
 */
public class Customer extends ThreadLocal<User>{

    private  ThreadLocal<User> userThreadLocal=new ThreadLocal<>();

    public User getUserThreadLocal() {
        return userThreadLocal.get();
    }

    public void setUserThreadLocal(ThreadLocal<User> userThreadLocal) {
        this.userThreadLocal = userThreadLocal;
    }
}
